import { http } from '@/services'

export const defaultProps = {
  hasModal: false,
  fieldNames: () => ({ children: 'children', title: 'name', key: 'id' }),
  typeName: '',
  crumbFirstName: '数据集',
  disabled: false,
  hasCollect: true,
  selectDataType: 'all',
  nodeIcon: () => ({ folder: 'icon-folder-3-line', file: 'icon-File' }),
  getTreeDataApi: () => http.get(''),
  getCollectTreeDataApi: () => http.get(''),
  getListDataApi: () => http.get(''),
  getCollectListDataApi: () => http.get('')
}
